package com.kkb.service.impl;

import com.kkb.mapper.TbShopMapper;
import com.kkb.pojo.TbShop;
import com.kkb.pojo.TbShopExample;
import com.kkb.service.TbShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @description: 商家实现类
 * @author: lxq
 */
@Service
@Transactional
public class TbShopServiceImpl implements TbShopService {
    @Autowired
    private TbShopMapper tbShopMapper;
    @Override
    public List<TbShop> getTbShopAll() {
        return tbShopMapper.selectByExample(new TbShopExample());
    }
}
